// Custom Theming for Angular Material
// For more information: https://material.angular.io/guide/theming
@import '~@angular/material/theming';
// Plus imports for other components in your app.
// Include the common styles for Angular Material. We include this here so that you only
// have to load a single css file for Angular Material in your app.
// Be sure that you only ever include this mixin once!
@include mat-core();
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue. Available color palettes: https://material.io/design/color/
$nxx-toolbox-primary: mat-palette($mat-blue);
$nxx-toolbox-accent: mat-palette($mat-blue, A200, A100, A900);

// The warn palette is optional (defaults to red).
$nxx-toolbox-warn: mat-palette($mat-red);

// Create the theme object. A theme consists of configurations for individual
// theming systems such as "color" or "typography".
$nxx-toolbox-theme: mat-dark-theme((
  color: (
    primary: $nxx-toolbox-primary,
    accent: $nxx-toolbox-accent,
    warn: $nxx-toolbox-warn,
  )
));

// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include angular-material-theme($nxx-toolbox-theme);

/* You can add global styles to this file, and also import other style files */

/* Importing Bootstrap SCSS file. */
@import "~bootstrap/scss/bootstrap";

// @import "~normalize.css";


#main-container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    color: white;
    background-color: #f1f2f8;
    padding-bottom: 5em;
}

#page-container {
    position: relative;
    min-height: 100%;
    min-width: 500px;
}

#content-container{
    background-image: url("assets/images/bg.webp");
    background-size: 100%;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 90vh;
    height: 100%;
}

//nav bar
#site-navbar{
    height: 15%;
    @media (max-width: 700px) {
        height: 20%;
    }
}

#navbar-img{
    height: 40px;
    width: auto;
}

//footer
#site-footer{
    color: white;
    position: absolute;
    bottom: 0;
    height: 5em;
    width: 100%;
    padding: 1.5em auto;
}

// at /card-calculator
#skill-summary{
    height: fit-content;
}

// at /card-value and /card-value-setting
#card-info{
    height: fit-content;
}

#skill-info{
    height: fit-content;
}

.btn-img{
    width: 60px;
}

// at /card-list and /vision-history
span.sort-header{
    display: flex;
    justify-content: center;
}

//to top button at page with list of items
#toTopButton {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px;
    z-index: 99;
    outline: none; 
    color: white; 
    padding: 15px;
    border-radius: 10px;
    opacity: 0.75;
}
#topBtn{
    transform: rotate(90deg);
}

// /home
#homeBase{
    max-height: 70%;
}
#home-scrollable{
    overflow-y: scroll;
    max-height: 25em;
}

td.table-text{
    vertical-align: middle;
}


.grid-item {
    height: max-content;
}

img.icon {
    max-height: 30px;
    max-width: 30px;
}

img.cardIcon {
    max-height: 60px;
    max-width: 60px;
}

.smallFont {
    font-size: 0.75em;
}

img.calculatorIcon{
    max-width: 90%;
}

//cutsom style for dropdown at nav-dark
li.dropdown > div.dropdown-menu > a.dropdown-item {
    color: rgba(255, 255, 255, 0.5)
}

li.dropdown > div.dropdown-menu > a.dropdown-item.active {
    color: #f8f9fa;
    background-color: #343a40;
}

li.dropdown > div.dropdown-menu > a.dropdown-item:hover {
    color: #f8f9fa;
    background-color: #343a40;
}

#language-form{
    padding-left: 1em;
}

//for loading spinner
.loader{
    z-index: 99;
    position: fixed; 
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

// /merch-list
div.merch-card{
    border-radius: 10px;
    height:95%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a.merch-link{
    color: #fff;
    text-align: center;
}

img.merch-img{
    display: block;
    margin: 0 auto;
}

table.merch-info{
    height: fit-content;
}

p.alert{
    color: red;
    font-weight: bold;
}

html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }

